luci-mod-status: nftables.js: correct icmp display
authorKevin Darbyshire-Bryant <[email protected]>
Sun, 18 Sep 2022 08:09:42 +0000 (09:09 +0100)
committerJo-Philipp Wich <[email protected]>
Sat, 29 Oct 2022 11:44:28 +0000 (13:44 +0200)
Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
(cherry picked from commit 6a03a884301f1acbc1cb1651a06b96ac92cc8596)

modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js

index 3a11f1e8308452b9433fe18969376551107d99fc..82660c15951f32438084909a646242f7e0ed8ddb 100644 (file)
@@ -46,8 +46,8 @@ var expr_translations = {
        'ip.dport': _('Destination port', 'nft ip dport'),
        'ip6.saddr': _('Source IPv6', 'nft ip6 saddr'),
        'ip6.daddr': _('Destination IPv6', 'nft ip6 daddr'),
-       'icmp.code': _('ICMPv6 code', 'nft icmpv6 code'),
-       'icmp.type': _('ICMPv6 type', 'nft icmpv6 type'),
+       'icmp.code': _('ICMP code', 'nft icmp code'),
+       'icmp.type': _('ICMP type', 'nft icmp type'),
        'icmpv6.code': _('ICMPv6 code', 'nft icmpv6 code'),
        'icmpv6.type': _('ICMPv6 type', 'nft icmpv6 type'),
        'tcp.sport': _('TCP source port', 'nft tcp sport'),